﻿<!DOCTYPE html>
<html>
<head>
   <title>Off-line Cueing Test</title>
   <meta name="generator" content="Help & Manual">
   <meta name="keywords" content="">
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   <link type="text/css" href="default.css" rel="stylesheet">
   <link type="text/css" href="custom.css" rel="stylesheet">
   <script type="text/javascript" src="nsh.js"></script>
   
<!-- non-scrolling headers for CHM and browser-based help, local styles-->
<style TYPE="text/css" media="screen"> 
   <!-- 
   body {    
      margin:0; 
      padding:0; 
      overflow: auto; 
      background: #edede9; 
   } 
   #idheader { 
      width:100%; 
      height:auto; 
      padding: 0; 
      margin: 0;     
} 
    #idheaderbg  {
    background: #E40A00; 
}
#idheadernowrap  {
    white-space:nowrap; 
}
    ul {list-style-type: lower-roman}
   -->
   </style>
   
<style TYPE="text/css" MEDIA="print">
<!--
/* Hide navigation links and add space between header
     and text in the printed version. Not valid for eBooks. */
#idnav { display:none;	 }
.topichead { padding: 5px 5px 20px 5px; }
-->
</style>   
   <script type="text/javascript" src="jquery.js"></script>
   <script type="text/javascript" src="helpman_settings.js"></script>
   <script type="text/javascript" src="helpman_topicinit.js"></script>

   <script type="text/javascript">
     HMSyncTOC("index.html", "dsim_cue_cueing_test.htm");
   </script>
   <script type="text/javascript" src="highlight.js"></script>
   <script type="text/javascript">
     $(document).ready(function(){highlight();});
   </script>
</head>
<body>

<!--ZOOMSTOP-->

<div id="idheader" >
<div id="idheaderbg">
<table width="100%" border="0" cellspacing="0" cellpadding="0" 
       style="margin: 0px; color: #D7D7D7;">

  <tr valign="middle">
    <td align="left" valign="middle" class="topichead">
    <!--<div id="idheadernowrap">-->
    <p class="crumbs" id="idnav"><b>Navigation:</b>&nbsp;
   
   VI-MotionCueing &gt; Off-line Cueing Test with VI-DriveSim on Windows&nbsp;&gt;</p>
      <h1 class="p_Heading1" style="page-break-after: avoid;"><span class="f_Heading1">Off-line Cueing Test</span></h1>

    <!--</div>-->
    </td>
    <td align="right" width="180" valign="middle" class="topichead" id="idnav">
    <div id="idheadernowrap">
    <a href="javascript: print();"
    		onmouseover="document.images.prntr.src='print_a.png'" 
        onmouseout="document.images.prntr.src='print_n.png'"
        ><img name="prntr" border="0" alt="Print this Topic" title="Print this Topic" src="print_n.png"
        ></a>&nbsp;&nbsp;
     <a href="motioncueing_fifth_step_longitudinal_biasin.htm"
        onmouseover="document.images.prev.src='back_a.png'" 
        onmouseout="document.images.prev.src='back_n.png'"
        ><img name=prev src="back_n.png" border=0 alt="Previous page"
        ></a><a href="drvsim_i_simwb_inst.htm"
        onmouseover="document.images.main.src='top_a.png'" 
        onmouseout="document.images.main.src='top_n.png'"><img name=main src="top_n.png" border=0 alt="Return to chapter overview"
        ></a><a href="dsim_cue__vicue_file_editing.htm"
        onmouseover="document.images.next.src='next_a.png'" 
        onmouseout="document.images.next.src='next_n.png'"><img name=next src="next_n.png" border=0 alt="Next page"
        ></a>
    </div>
    </td>
  </tr>
</table>
</div>

<!-- The following code displays Expand All/Collapse All links  below the header in topics containing toggles -->
  

</div>  



<div id="idcontent"><div id="innerdiv"> 
<!--ZOOMRESTART-->
<p class="p_Normal">MotionCueing can be tested offline and post-processed in VI-Animator. In order to do so, in the VI-DriveSim GUI, click on &quot;test&quot; as shown below and &quot;load&quot; a MotionCueing configuration file (.vicue).</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal" style="text-align: center;"><img alt="offline2" width="632" height="468" style="margin:0px auto 0px auto;width:632px;height:468px;border:none" src="offline2.png"/></p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">You'll be asked to fill three fields:</p>
<p class="p_Normal">&nbsp;</p>
<p style="text-align: justify; text-indent: 0px; padding: 0px 0px 0px 13px; margin: 0px 0px 0px 60px;"><span style="font-size:10pt; font-family: 'Arial Unicode MS','Lucida Sans Unicode','Arial';color:#000000;display:inline-block;width:13px;margin-left:-13px">&#8226;</span>.res file: it's the path of the result file with which you want to test the cueing; </p><p style="text-align: justify; text-indent: 0px; padding: 0px 0px 0px 13px; margin: 0px 0px 0px 60px;"><span style="font-size:10pt; font-family: 'Arial Unicode MS','Lucida Sans Unicode','Arial';color:#000000;display:inline-block;width:13px;margin-left:-13px">&#8226;</span>.vicue file: it's the path of the file containing cueing's parameters - a vicue_template_DiM150.vicue and a vicue_template_DiM250.vicue files are provided in the folder C:\Vi-Grade\VI-DriveSim 19\cueing;</p><p style="text-align: justify; text-indent: 0px; padding: 0px 0px 0px 13px; margin: 0px 0px 0px 60px;"><span style="font-size:10pt; font-family: 'Arial Unicode MS','Lucida Sans Unicode','Arial';color:#000000;display:inline-block;width:13px;margin-left:-13px">&#8226;</span>output file: it's the path of the .csv file in output (if it doesn't exist, it will be created). </p><p class="p_Normal" style="margin: 0px 0px 0px 23px;">&nbsp;</p>
<p class="p_Normal" style="margin: 0px 0px 0px 23px;">Check the flag <span style="font-style: italic;">Compute Inverse Kin.</span> if you want to visualize the graphic model animated accordingly to the result. In order to have the correct computation, activate the flag <span style="font-style: italic;">DiM 150</span> or <span style="font-style: italic;">DiM 250, </span>depending on your needs.</p>
<p class="p_Normal" style="margin: 0px 0px 0px 23px;">If you want to post-process the result into VI-Animator, select <span style="font-style: italic;">VI-Animator post-processing</span> before running the test. To load the correct graphic model, browse to the folder C:\Vi-Grade\VI-DriveSim 19\cdb\graphic_models.tbl and select the graphic coherently with the <span style="font-style: italic;">Compute Inverse Kin. </span>setting.</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">A .csv file is accepted as input as well: when selecting a .res file you can change the extension on the bottom right of the file-browser and than you can select a .csv file. The following header, and the relative signals, must be used:</p>
<p class="p_Normal"><span style="font-style: italic;">STEP;</span></p>
<p class="p_Normal"><span style="font-style: italic;">VI_CarRealTime.Outputs.chassis_acceleration.longitudinal;</span></p>
<p class="p_Normal"><span style="font-style: italic;">VI_CarRealTime.Outputs.chassis_acceleration.lateral;</span></p>
<p class="p_Normal"><span style="font-style: italic;">VI_CarRealTime.Outputs.chassis_displacements.pitch;</span></p>
<p class="p_Normal"><span style="font-style: italic;">VI_CarRealTime.Outputs.chassis_displacements.roll;</span></p>
<p class="p_Normal"><span style="font-style: italic;">VI_CarRealTime.Outputs.chassis_acceleration.vertical;</span></p>
<p class="p_Normal"><span style="font-style: italic;">VI_CarRealTime.Outputs.chassis_velocity.yaw;</span></p>
<p class="p_Normal"><span style="font-style: italic;">VI_CarRealTime.Outputs.Vehicle.CM_Body_Fixed_Vx;</span></p>
<p class="p_Normal"><span style="font-style: italic;">VI_CarRealTime.Outputs.Vehicle.Side_Slip_Angle_Rate;</span></p>
<p class="p_Normal"><span style="font-style: italic;">VI_CarRealTime.Outputs.chassis_displacement.roll_wrt_road;</span></p>
<p class="p_Normal"><span style="font-style: italic;">VI_CarRealTime.Outputs.chassis_displacement.pitch_wrt_road;</span></p>
<p class="p_Normal"><span style="font-style: italic;">VI_CarRealTime.Outputs.chassis_displacement.vertical_wrt_road.</span></p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal"><span style="font-style: italic; font-weight: bold;">N.B.</span>: The STEP signal is in ms and the last three signals are not used, hence they can be set to zero. While the VI-DriveSim is working at 200 Hz the .csv file can be sampled even at a higher frequency: a sub-sampling will be applied. If VI-CarRealTime is not the physical engine a custom header is necessary.</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">Then, </p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">Once you have done, you can click on &quot;run test&quot; and wait for the process to finish (until the shell window will close) and VI-Animator to open (if the option is enabled). </p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal" style="text-align: center;"><img alt="dsim_drivesimUI_animator" width="956" height="520" style="margin:0px auto 0px auto;width:956px;height:520px;border:none" src="dsim_drivesimui_animator.png"/></p>

<!--ZOOMSTOP-->
</div></div>
<script type="text/javascript"> 
<!-- 
var lastSlashPos = document.URL.lastIndexOf("/") >
document.URL.lastIndexOf("\\") ? document.URL.lastIndexOf("/") :
document.URL.lastIndexOf("\\");
if( document.URL.substring( lastSlashPos + 1, lastSlashPos + 4
).toLowerCase() != "~hh" )
{
    nsrInit();
}
--> 
</script> 
</body>
</html>
